
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>CSS盒子阴影</title>
  <style>
    .container {
      background:red;
      width:200px;
      height:200px;
      margin: 100px;
      box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
      /* box-shadow: inset 5px 5px 10px 0 rgba(0,0,0,.2); */
      /*box-shadow: 0 0 0 5px green;*/
      /*box-shadow: 200px 100px 0 -50px green;*/
    }
  </style>
</head>
<body>
  <div class="container">
  </div>
</body>
</html>
